var express = require('express');
var router = express.Router();

// const { completedTestModel } = require("../models/completedTestModel");
// /* GET users listing. */
// router.get('/', function(req, res, next) {
//   res.send('respond with a resource');
// });

let {getTestInfo,getCompletedTest}=require('../controllers/completedTestController');
/* GET users listing. */
//考试结果页面接口
router.get('/getTestInfo',getTestInfo);
//排行榜接口
router.get('/getCompletedTest',getCompletedTest);
module.exports = router;